package com.example.adu;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


//@RestController
//public class aduController {
//    @RequestMapping("/hello")
//    public String index() {
//        return "Hello World";
//    }
//}
@Controller
public class aduController {
    @RequestMapping("/index")
    public String indexPage() {
        return "index";
    }

    @RequestMapping("/qingshi")
    public String qingshiPage() {
        return "qingshi";
    }

    @RequestMapping("/newyear")
    public String newyearPage() {
        return "newYear";
    }

    @RequestMapping("/shouye")
    public String showyePage() {
        return "shouye";
    }
    @RequestMapping("/nuanxin")
    public String nuanxinPage() {
        return "nuanxin";
    }
    @RequestMapping("/bendan")
    public String bendanPage() {
        return "bendan";
    }
    @RequestMapping("/nuoyan")
    public String nuoyanPage() {
        return "nuoyan";
    }
}